import * as axiosBase from "./request";
import axios from 'axios';
//获取歌单详情
// http://39.103.154.125:9876/playlist/detail?id=2409342460
export let getSongList = async function (params) {
  let res = await axiosBase.GET(API_PORT +"/playlist/detail", params);
  return res;
}
//获取使用模糊查询音乐详情
export let getMusicInfo = async function (params) {
  let res = await axiosBase.GET(API_PORT +"/search", {...params});
  return res.result;
}